package com.tensquare.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 分页类
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {
        private long total;     //总记录数
        private List<T> rows;   //每页的结果集
}